/*
 * ============================================================================
 * Copyright Notice!
 * ----------------------------------------------------------------------------
 * This file contains proprietary and confidential information belonging to the
 * group of people involvled in developing this project.  Reproduction, disclosure 
 * or use without specific written authorization from project stake holders is 
 * prohibited. Please refer the readme.txt in project installation folder for more
 * specific contacts
 *
 * All rights reserved.
 * ============================================================================
 */
package edu.uwm.universitydb.framework.exception;

/**
 * <code>DataAccessErrorCode</type> here
 * Enum representing the errors associated with data access
 * 
 * @author Shyam Nair
 */
public enum DataAccessErrorCode
{
    /** enum representing invalid login */
    INAVLID_LOGIN(001, "INAVLID LOGIN"),

    /** enum representing driver not found */
    DRIVER_NOT_FOUND(000, "DB Driver NOT AVAILABLE"),

    /** enum representing uncategorized error */
    UNCATEGAROZIED_ERROR(-999, "NOT A CATEGAROZIED ERROR");

    /** attribute holding error code */
    final int mErrorCode;
    /** attribute holding error message */
    final String mErrorMessage;

    /**
     * 
     * @param errorCode
     * @param errorMessage
     */
    private DataAccessErrorCode(final int errorCode, final String errorMessage)
    {
        mErrorCode = errorCode;
        mErrorMessage = errorMessage;
    }
}
/*
 * ============================================================================
 * Change History
 * ----------------------------------------------------------------------------
 * Apr 6, 2014   Shyam Nair.
 * File created
 * ----------------------------------------------------------------------------
 */